package com.example.demo.mapper.student;

import com.example.demo.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    int deleteByPrimaryKey(String id);

    int insert(Student record);

    Student selectByPrimaryKey(String id);

    List<Student> selectAll();

    int updateByPrimaryKey(Student record);

    /**
     * 批量导入
     */
    int insertBatch(@Param("lists") List<Student> lists);
}